<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>

        <th>部门</th>
        <th>姓名</th>
        <th>流程名称</th>
        <th>类型</th>
        <th>时长</th>

        <th>流程是否結束</th>
    </tr>
    </thead>
<tbody>
<#if oaLeavesTable.rows??>
<#list oaLeavesTable.rows as oaLeave>
    <tr>

        <td>${oaLeave.deptName!''}</td>
        <td>${oaLeave.userName!''}</td>
        <td>${oaLeave.spareB!''}</td>
        <td>${oaLeave.leaveType!''}</td>
        <td>${oaLeave.leaveH!''}</td>



        <td>
            <@display list=ynTypeList value="${oaLeave.spareA!''}"/>
        </td>
          </tr>
</#list>
</#if>
    </tbody>
</table>
<#if oaLeavesTable??>
<@page table=oaLeavesTable formId="search_oaLeave_table"/>
</#if>
<style>
    .ellipsis_div {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
</style>